$border-color: #ddd;
$border-radius: 2px;

* {
    color: #666;
}

table {
    border-collapse: collapse;
    // width: 100%;
    border: 1px solid $border-color;
    border-radius: $border-radius;
    margin: 0;

    th {
        border: 1px solid #f8f8f8;
        font-weight: 520;
        color: #333;
    }

    td {
        text-align: left;
        padding: 8px;
        border: 1px solid #f8f8f8;
        border-radius: $border-radius;

        label {
            min-width: 4.5rem;
            display: inline-block;
        }

        input,
        select,
        textarea {
            padding: .5rem;
            border: 1px solid $border-color;
            border-radius: $border-radius;
            outline: none;
            resize: none;
        }

        input[type="text"],
        input[type="password"] {
            // text-indent: .2rem;
        }

        select {
            min-width: 11.3rem;
        }

        textarea {
            width: 100%;
            padding: .5rem;
        }

        button {
            min-width: 6rem;
            font-size: .9rem;
            border-radius: $border-radius;
        }

        button:focus {
            outline: none;
        }
    }
}

table.inset {
    margin: 0 auto;

    * {
        border: 1px solid white;
    }

    td {
        text-align: center;
    }
}

button.wide {
    min-width: 10rem;
}